package com.zmm.zebulon.common.util.object;

import com.zmm.zebulon.common.pojo.PageParam;

/**
 * description: {@link PageParam} 工具类
 *
 * @author zebulon
 * package com.zmm.zebulon.common.util.object
 * name: PageUtils
 * date 2024/1/5 23:45
 */
public class PageUtils {

    public static int getStart(PageParam pageParam) {
        return (pageParam.getPageNo() - 1) * pageParam.getPageSize();
    }

}
